{# A test send, enabled only when the channel is set up. #} {% from "components/macros/layout.html" import card %} {% from "components/macros/form.html" import field, primary_button %} {% call card("Send a test") %}
{% call field(label) %}{% endcall %}
{{ primary_button("Send test", type="submit", attrs=("disabled" if not ch.configured else "")) }}
{% if not ch.configured %}

Set the missing settings above to send a test.

{% endif %} {% endcall %}